<<<<<<< HEAD
import request from "@/utils/request";
export default {
    // 登录
    login(data) {
      return request({
        url: "/login",
        method: "get",
        params: data
      });
    }
}
=======
import request from '@/utils/request'
export default {
  // 登录
  login(data) {
    return request({
      url: '/auth/web/login?login_type=phone_and_password',
      method: 'post',
      body: data,
      headers: {
        'Content-Type': 'application/json'
      }
    })
  }
}
>>>>>>> 7641faace758e94a670e82ffd73a29de86d9dfb6
